import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

class TTheme {
  static final dayTheme = ThemeData.light().copyWith(
      brightness: Brightness.light,
      highlightColor: Colors.transparent,
      splashColor: Colors.transparent,
      primaryColor: const Color(0xFFEFEFEF),
      scaffoldBackgroundColor: const Color(0xFFEFEFEF),
      shadowColor: Colors.black26,
      appBarTheme: const AppBarTheme(
          elevation: 0,
          centerTitle: true,
          iconTheme: IconThemeData(color: Colors.black87),
          titleTextStyle: TextStyle(
              color: Colors.black, fontWeight: FontWeight.w700, fontSize: 17),
          backgroundColor: Colors.transparent,
          systemOverlayStyle: SystemUiOverlayStyle.dark));

  static final darkTheme = ThemeData.dark().copyWith(
    brightness: Brightness.dark,
    primaryColor: Colors.black26,
    highlightColor: Colors.transparent,
    splashColor: Colors.transparent,
    scaffoldBackgroundColor: Colors.black26,
    shadowColor: Colors.white38,
    appBarTheme: const AppBarTheme(
        iconTheme: IconThemeData(color: Colors.white70),
        titleTextStyle: TextStyle(
            color: Colors.white, fontWeight: FontWeight.w700, fontSize: 17),
        elevation: 0,
        centerTitle: true,
        backgroundColor: Colors.transparent,
        systemOverlayStyle: SystemUiOverlayStyle.light),
  );
}
